package com.ruoyi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 流程业务关联信息对象 ACT_BUSINESS_REFINFO
 * 
 * @author ruoyi
 * @date 2021-05-10
 */
public class ActBusinessRefinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long refinfoId;

    /** 流程标题 */
    @Excel(name = "流程标题")
    private String actTitle;

    /** 流程实例ID */
    @Excel(name = "流程实例ID")
    private String procinstId;

    /** 业务表ID */
    @Excel(name = "业务表ID")
    private String businessId;

    /** 业务表ID */
    @Excel(name = "业务表ID")
    private String businessFormUrl;

    /** 审核人 */
    @Excel(name = "审核人")
    private String aduitName;

    /** 审核日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date aduitDate;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String aduitStatus;

    /** 流程状态 */
    @Excel(name = "流程状态")
    private  String  actStatus;

    /** 流程状态 */
    @Excel(name = "业务表名称")
    private  String  tableName;

    private  Long businessDeptId;
    private String isEffect;
    private String idName;

    public String getIdName() {
        return idName;
    }

    public void setIdName(String idName) {
        this.idName = idName;
    }

    public String getIsEffect() {
        return isEffect;
    }

    public void setIsEffect(String isEffect) {
        this.isEffect = isEffect;
    }

    public Long getBusinessDeptId() {
        return businessDeptId;
    }

    public void setBusinessDeptId(Long businessDeptId) {
        this.businessDeptId = businessDeptId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getActStatus() {
        return actStatus;
    }

    public void setActStatus(String actStatus) {
        this.actStatus = actStatus;
    }

    public void setRefinfoId(Long refinfoId)
    {
        this.refinfoId = refinfoId;
    }

    public Long getRefinfoId() 
    {
        return refinfoId;
    }
    public void setActTitle(String actTitle) 
    {
        this.actTitle = actTitle;
    }

    public String getActTitle() 
    {
        return actTitle;
    }
    public void setProcinstId(String procinstId) 
    {
        this.procinstId = procinstId;
    }

    public String getProcinstId() 
    {
        return procinstId;
    }
    public void setBusinessId(String businessId) 
    {
        this.businessId = businessId;
    }

    public String getBusinessId() 
    {
        return businessId;
    }
    public void setBusinessFormUrl(String businessFormUrl) 
    {
        this.businessFormUrl = businessFormUrl;
    }

    public String getBusinessFormUrl() 
    {
        return businessFormUrl;
    }
    public void setAduitName(String aduitName) 
    {
        this.aduitName = aduitName;
    }

    public String getAduitName() 
    {
        return aduitName;
    }
    public void setAduitDate(Date aduitDate) 
    {
        this.aduitDate = aduitDate;
    }

    public Date getAduitDate() 
    {
        return aduitDate;
    }
    public void setAduitStatus(String aduitStatus) 
    {
        this.aduitStatus = aduitStatus;
    }

    public String getAduitStatus() 
    {
        return aduitStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("refinfoId", getRefinfoId())
            .append("actTitle", getActTitle())
            .append("procinstId", getProcinstId())
            .append("businessId", getBusinessId())
            .append("businessFormUrl", getBusinessFormUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("aduitName", getAduitName())
            .append("aduitDate", getAduitDate())
            .append("aduitStatus", getAduitStatus())
            .toString();
    }
}
